//
//  CarViolationModel.m
//  EasyToo
//
//  Created by linshengqin on 13-9-10.
//
//

#import "CarViolationModel.h"

static CarViolationModel* carViolation_model = nil;

@implementation CarViolationModel

+(CarViolationModel*)sharedata
{
    if(carViolation_model == nil)
    {
        carViolation_model = [[CarViolationModel alloc]init];
    }
    
    return carViolation_model ;
}

- (id)init
{
    self = [super init];
    if (self) {
        _vehicleNo = [[NSString alloc] init];
        _colorType    = [[NSString alloc] init];
        _rackNo = [[NSString alloc] init];
        _enginNo    = [[NSString alloc] init];
        _phoneNum   = [[NSString alloc] init];
        _postFee = [[NSString alloc] init];
        _violationInfoArray = [[NSArray alloc]init];
        _postMode = @"1";
        _orderDetail = [[NSString alloc]init];
        _totalAmount =  [[NSString alloc]init];

    }
    return self;
}
- (void)dealloc
{
    NSLog(@"&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
    [_vehicleNo release],_vehicleNo = nil;
    [_colorType release],_colorType = nil;
    [_rackNo release],_rackNo = nil;
    [_enginNo release],_enginNo = nil;
    [_phoneNum release],_phoneNum = nil;
    
    [_postFee release],_postFee = nil;
    [_violationInfoArray release],_violationInfoArray=nil;
    self.postMode=nil;
    self.orderDetail = nil;
    self.totalAmount = nil;
    [carViolation_model release];
    [super dealloc];
}

@end
